home *** CD-ROM | disk | FTP | other *** search
- head 1.7;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.7
- date 91.11.01.13.10.26; author rab; state Exp;
- branches ;
- next 1.6;
-
- 1.6
- date 90.11.06.17.21.12; author rab; state Exp;
- branches ;
- next 1.5;
-
- 1.5
- date 90.05.07.12.59.11; author rab; state Exp;
- branches ;
- next 1.4;
-
- 1.4
- date 90.05.02.14.41.55; author rab; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 89.07.14.09.10.07; author rab; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 88.06.29.14.57.44; author ouster; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.06.21.16.34.16; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.7
- log
- @Put #ifdef around clock_t
- @
- text
- @/*
- * Copyright (c) 1983, 1987 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- * @@(#)time.h 1.2 (Berkeley) 3/4/87
- */
-
- #ifndef _TIME_H
- #define _TIME_H
-
- #include <cfuncproto.h>
-
- #ifndef _TIME_T
- #define _TIME_T
- typedef long time_t;
- #endif
- #ifndef _CLOCK_T
- #define _CLOCK_T
- typedef long clock_t;
- #endif
-
- /*
- * Structure returned by gmtime and localtime calls (see ctime(3)).
- */
- struct tm {
- int tm_sec;
- int tm_min;
- int tm_hour;
- int tm_mday;
- int tm_mon;
- int tm_year;
- int tm_wday;
- int tm_yday;
- int tm_isdst;
- long tm_gmtoff;
- char *tm_zone;
- };
-
- _EXTERN clock_t clock _ARGS_((void));
- _EXTERN time_t time _ARGS_((time_t *tp));
- _EXTERN time_t mktime _ARGS_((struct tm *tp));
- _EXTERN double difftime _ARGS_((time_t time2, time_t time1));
- _EXTERN struct tm *gmtime _ARGS_((_CONST time_t *tp));
- _EXTERN struct tm *localtime _ARGS_((_CONST time_t *tp));
- _EXTERN char *asctime _ARGS_((_CONST struct tm *tp));
- _EXTERN char *ctime _ARGS_((_CONST time_t *tp));
- _EXTERN int strftime _ARGS_ ((char *s, int smax, _CONST char *fmt,
- _CONST struct tm *tp));
-
- #endif /* _TIME_H */
- @
-
-
- 1.6
- log
- @Changed extern to _EXTERN for g++.
- @
- text
- @d9 2
- a10 2
- #ifndef _TIME
- #define _TIME
- d17 3
- d51 1
- a51 1
- #endif /* _TIME */
- @
-
-
- 1.5
- log
- @Added declaration of time().
- @
- text
- @d12 8
- d37 10
- a46 10
- extern struct tm *gmtime(), *localtime();
- extern char *asctime(), *ctime();
-
- #ifndef _TIME_T
- #define _TIME_T
- typedef long time_t;
- typedef long clock_t;
- #endif
-
- extern time_t time();
- @
-
-
- 1.4
- log
- @Added typedefs for time_t and clock_t.
-
- @
- text
- @d38 2
- @
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @d32 6
- @
-
-
- 1.2
- log
- @Add ifdefs so that file can't be processed twice.
- @
- text
- @d32 1
- a32 1
- #endif _TIME
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d9 3
- d31 2
- @
-